package com.qianya.model.pojo.sys.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 字典
 * </p>
 *
 * @author lhl
 * @since 2020-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysParamQO对象", description="字典")
public class SysParamQO extends BaseEntity {

    private static final long serialVersionUID = -7546130412054549577L;
    @ApiModelProperty(value = "字典id")
    @TableId(value = "PA_ID", type = IdType.UUID)
    private String paId;

    @ApiModelProperty(value = "字典类型")
    @TableField("PA_TYPE")
    private String paType;

    @ApiModelProperty(value = "字典名称")
    @TableField("PA_NAME")
    private String paName;

    @ApiModelProperty(value = "创建人")
    @TableField("PA_CREATE_ID")
    private String paCreateId;

    @ApiModelProperty(value = "创建时间")
    @TableField("PA_CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date paCreateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("PA_UPDATE_ID")
    private String paUpdateId;

    @ApiModelProperty(value = "删除人")
    @TableField("PA_DELETE")
    private String paDelete;

    @ApiModelProperty(value = "(0,正常1删除)")
    @TableField("PA_STATUS")
    private Boolean paStatus;



}
